import request from "@/router/axios";
import { baseUrl } from "@/config/env";

//体育专业类体育成绩
export function addNonProfessional(data) {
  return request({
    url: baseUrl + "/pc/physical-education-normal",
    method: "post",
    data
  });
}

//查询非体育类专业体育课成绩
export function getNonProfessional(data) {
  return request({
    url: baseUrl + "/pc/physical-education-normal",
    method: "get",
    params: data
  });
}

//删除非体育类专业体育课成绩
export function deleteNonProfessional(data) {
  return request({
    url: baseUrl + "/pc/physical-education-normal",
    method: "delete",
    data
  });
}

//更新非体育类专业体育课成绩
export function updateNonProfessional(data) {
  return request({
    url: baseUrl + "/pc/physical-education-normal",
    method: "put",
    data
  });
}

//导入非体育类专业体育课成绩
export function importNonProfessional(data) {
  return request({
    url: baseUrl + "/pc/physical-education-normal/upload",
    method: "post",
    data
  });
}
